package com.hissy.common.redis;

/**
 * Created by zhangyanfei on 2017/9/28.
 *
 * @author zhangyanfei
 * @date 2017/09/28
 */
public class JedisConfig {
    // Redis配置
    private static String redisHost="127.0.0.1";
    private static int redisPort=6379;
    private static String redisPassword="";
    private static int redisDatabase=1;

    public static String getRedisHost() {
        return redisHost;
    }

    public static void setRedisHost(String redisHost) {
        JedisConfig.redisHost = redisHost;
    }

    public static int getRedisPort() {
        return redisPort;
    }

    public static void setRedisPort(int redisPort) {
        JedisConfig.redisPort = redisPort;
    }

    public static String getRedisPassword() {
        return redisPassword;
    }

    public static void setRedisPassword(String redisPassword) {
        JedisConfig.redisPassword = redisPassword;
    }

    public static int getRedisDatabase() {
        return redisDatabase;
    }

    public static void setRedisDatabase(int redisDatabase) {
        JedisConfig.redisDatabase = redisDatabase;
    }
}
